Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkStarStrix committed Jun 12, 2024
2 parents 5182cc2 + f0c73d8 commit 9bac116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Application_Folder/API_Backend/Backend_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def run_algorithm():
try:
result = algorithm.execute () # Call the execute method
except Exception as e:
return {"error": str(e)}, 500
return {"Internal server error occurred"

# Print "Plot printed" in the console
print ("Plot printed")
Expand All @@ -124,4 +124,4 @@ def run_algorithm():


if __name__ == '__main__':
app.run (debug=True)
app.run (debug=False)

0 comments on commit 9bac116

Please sign in to comment.