Skip to content

Commit

Permalink
log errors
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
  • Loading branch information
spacecowboy committed Oct 13, 2014
1 parent 49cee7d commit df66ca9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/flaskapp/feeder/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def wrapped_f(*args, **kwargs):
return f(*args, **kwargs)
except Exception as e:
print(e)
app.logger.error(str(e))
raise e

return wrapped_f
Expand Down

0 comments on commit df66ca9

Please sign in to comment.