Skip to content
Permalink
Browse files

Fixed issues with exception handling

  • Loading branch information
joamag committed Mar 12, 2019
1 parent b5d033d commit a700a4c001ba031a5f24d88e30ef02d8b7121b27
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/eadapters/models/budy/bd_common.py
@@ -105,7 +105,7 @@ def _handle_error(error, fallback = None, code = 400, encoding = "utf-8"):
# tries to retrieve the message from the provided
# information, as expected by the structure
message = data_j.get("message", None)
except:
except Exception:
# in case there was an unexpected error interpreting
# the data then sets the data itself as the message
message = data_s

0 comments on commit a700a4c

Please sign in to comment.
You can’t perform that action at this time.