fix: update error handling in express middleware and refine constructor parameters, lint issue
Commit: e0e64fe ↗ by milosbugarinovic
Commit: e0e64fe ↗ by milosbugarinovic