Project

General

Profile

Actions

Bug #475

closed

appservices return error then no instances found

Added by torgiren about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
appsservice
Target version:
Start date:
11/24/2023
Due date:
% Done:

100%

Estimated time:
2:00 h
Spent time:

Description

handle the notFound exception

) Gecko/20100101 Firefox/119.0"
[2023-11-24 14:30:14,693] ERROR in app: Exception on /api/apps/v1/instances/ [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/usr/local/lib/python3.9/site-packages/flask_restx/api.py", line 403, in wrapper
resp = resource(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/flask/views.py", line 84, in view
return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/flask_restx/resource.py", line 49, in dispatch_request
resp = meth(*args, **kwargs)
File "/app/appsservice/helpers.py", line 25, in wrapper
return fn(*args, **kwargs)
File "/app/appsservice/instances.py", line 43, in get
instances = dao.get_instances(args.get("org"), args.get("app"))
File "/app/appsservice/dao.py", line 203, in get_instances
raise FileNotFoundError
FileNotFoundError

Actions #1

Updated by torgiren about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Anonymous about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by torgiren about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF