Add foreground service, some cleanup, and start websocket server
This commit is contained in:
@@ -109,6 +109,10 @@ ${Object.keys(context).map(key => ` - ${key} : ${JSON.stringify(context[key])
|
||||
return 'It looks like this route relies on the security framework. Is the route you are accessing inside a middleware (e.g. SessionAuthMiddleware)?'
|
||||
} else if ( this.thrownError.message.startsWith('Unable to resolve schema for validator') ) {
|
||||
return 'Make sure the directory in which the interface file is located is listed in extollo.cc.zodify in package.json, and that it ends with the proper .type.ts suffix.'
|
||||
} else if ( this.thrownError instanceof ErrorWithContext ) {
|
||||
if ( typeof this.thrownError.context.suggestion === 'string' ) {
|
||||
return this.thrownError.context.suggestion
|
||||
}
|
||||
}
|
||||
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user