Fix linting

This commit is contained in:
Jack Kingsman
2026-03-29 19:09:36 -07:00
parent 08d55dec72
commit 2cd71bf086
2 changed files with 2 additions and 6 deletions

View File

@@ -221,9 +221,7 @@ class FanoutManager:
await asyncio.wait_for(handler(data), timeout=_DISPATCH_TIMEOUT_SECONDS)
self._clear_module_error(config_id)
except asyncio.TimeoutError:
timeout_error = (
f"{handler_name} timed out after {_DISPATCH_TIMEOUT_SECONDS:.1f}s"
)
timeout_error = f"{handler_name} timed out after {_DISPATCH_TIMEOUT_SECONDS:.1f}s"
self._set_module_error(config_id, timeout_error)
logger.error(
"Fanout %s %s timed out after %.1fs; restarting module",

View File

@@ -2229,9 +2229,7 @@ export function SettingsFanoutSection({
<DialogContent className="sm:max-w-md">
<DialogHeader className="border-b border-border px-5 py-4">
<DialogTitle>
{errorDialogState
? `${errorDialogState.integrationName} Error`
: 'Integration Error'}
{errorDialogState ? `${errorDialogState.integrationName} Error` : 'Integration Error'}
</DialogTitle>
<DialogDescription>
Most recent backend error retained for this integration.