Giter Site home page Giter Site logo

consolidated-error-reports-logicapps's Introduction

consolidated-error-reports-logicapps

Consolidated error report generator Azure Function for Logic App action results.

Return an array with unified JSON exception messages collecting exceptions from different result bodies of different Azure Logic App actions.

This way you can consolidate different exception messages in a single format from of various Logic app actions and standardize the exception model. It helps if you want to log the errors in Logic apps from somewhere else, store them in a database, show them in a GUI or mail the errors from different sources to the user.

Version 1: works for errors from many standard logic app actions, exceptions coming from C# Azure Functions V1/V2/V3, and exceptions coming from other logic apps using this function. Support for more exception types will be added in future versions.

For usage of the see template logic app with logic app exception handling.

Response JSON exception format :

Field Description
Code Code given for the exception (ex. 400,500 for http exceptions)
BlockName Name of the logic app action which gives this exception
Message Exception message
StackTrace Stack trace (if applicable)
Source Exception creating source (Exception class names in Azure function exceptions)
ClientTrackingId Logic apps tracking ID
StartTime Logic apps trigger execution datetime

For more info check my blog post at :

https://devblog.sertanyaman.com/2021/02/01/better-logic-apps-error-handling-with-consolidated-error-reports/

consolidated-error-reports-logicapps's People

Contributors

sertanyaman avatar syamanhso avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.