mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Add dependencies and missing exception handling
This commit is contained in:
		@@ -35,7 +35,10 @@ def cqi_over_socketio(f):
 | 
				
			|||||||
        try:
 | 
					        try:
 | 
				
			||||||
            return_value = f(**f_args)
 | 
					            return_value = f(**f_args)
 | 
				
			||||||
        except BrokenPipeError:
 | 
					        except BrokenPipeError:
 | 
				
			||||||
            pass
 | 
					            return_value = {
 | 
				
			||||||
 | 
					                'code': 500,
 | 
				
			||||||
 | 
					                'msg': 'Internal Server Error'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        except cqi.errors.CQiException as e:
 | 
					        except cqi.errors.CQiException as e:
 | 
				
			||||||
            return_value = {
 | 
					            return_value = {
 | 
				
			||||||
                'code': 500,
 | 
					                'code': 500,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,6 +13,7 @@ Flask-SocketIO~=5.1
 | 
				
			|||||||
Flask-SQLAlchemy
 | 
					Flask-SQLAlchemy
 | 
				
			||||||
Flask-WTF
 | 
					Flask-WTF
 | 
				
			||||||
gunicorn
 | 
					gunicorn
 | 
				
			||||||
 | 
					hiredis
 | 
				
			||||||
jsonpatch
 | 
					jsonpatch
 | 
				
			||||||
jsonschema
 | 
					jsonschema
 | 
				
			||||||
psycopg2
 | 
					psycopg2
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user