update
This commit is contained in:
@@ -81,8 +81,9 @@ class LoanService(BaseService):
|
||||
|
||||
return response_data
|
||||
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"An error occurred: {str(e)}", exc_info=True)
|
||||
return jsonify({
|
||||
"message": "Internal Server Error"
|
||||
}), 500
|
||||
"message": f"Internal Server Error: {str(e)}"
|
||||
}), 500
|
||||
|
||||
Reference in New Issue
Block a user