Skip to content

Commit

Permalink
Since flow not found, return error here
Browse files Browse the repository at this point in the history
  • Loading branch information
runely committed May 10, 2022
1 parent f2ceb4e commit 8ea5b7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HandleDocument/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = async function (context, req) {
flow = require(`../lib/flows/${blobType}`)
} catch (error) {
await logger('error', [blobType, 'flow not found', error])
return azfHandleError(error, context, req)
}

// call flow type
Expand Down

0 comments on commit 8ea5b7f

Please sign in to comment.