This commit is contained in:
parent
eb3407255f
commit
9492d206e3
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export default class AppLogger {
|
|||
AppLogger.Logger.silly({ label, message });
|
||||
}
|
||||
|
||||
public static CatchError(label: string, error: any) {
|
||||
public static CatchError(label: string, error: unknown) {
|
||||
if (error instanceof Error) {
|
||||
AppLogger.Logger.error({ label, message: error.message });
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue