refactor: Accept unknown in errorToConsole to drop as Error casts (#2541)
This commit is contained in:
committed by
dermotduffy
parent
fcef48e75a
commit
95f35bd326
@@ -103,7 +103,7 @@ export class ViewItemManager {
|
||||
try {
|
||||
url = await homeAssistantGetSignedURLIfNecessary(hass, endpoint);
|
||||
} catch (e) {
|
||||
errorToConsole(e as Error);
|
||||
errorToConsole(e);
|
||||
url = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user