fix(core): update
This commit is contained in:
		| @@ -11,7 +11,11 @@ export class HttpStatus { | ||||
|       statusInstance = new HttpStatus.statusMap[codeStringArg](); | ||||
|     } catch { | ||||
|       console.log('unknown status') | ||||
|       return null; | ||||
|       return new HttpStatus({ | ||||
|         code: 0, | ||||
|         text: 'unknown status', | ||||
|         description: `The status ${codeStringArg} is not known.`  | ||||
|       }); | ||||
|     } | ||||
|     return statusInstance; | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user