Skip to content

Commit

Permalink
Merge pull request #4313 from ushahidi/chore/gmail-support
Browse files Browse the repository at this point in the history
Chore: Gmail Support Update
  • Loading branch information
tuxpiper committed Nov 8, 2021
2 parents 2b43b36 + 59dce43 commit 5ef2a24
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
16 changes: 11 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/App/DataSource/DataSourceStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ public function receive(
if (!app()->runningInConsole()) {
abort(400, 'Bad request: ' . $e->getMessage());
}
} catch (\Exception $e) {
Log::error($e->getMessage(), $payload);
if (!app()->runningInConsole()) {
abort(500, 'Internal Server Error: ' . $e->getMessage());
}
}
}

Expand Down

0 comments on commit 5ef2a24

Please sign in to comment.