Skip to content
Snippets Groups Projects
Unverified Commit 386797b2 authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Fix typo in a task fetching error message logic (#45652)

parent bcff4138
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ export function usePollingLogsQuery(pollingDurationMs: number) {
}
} catch (err: any) {
console.error(err);
const msg = err?.data?.message ?? err.messsage ?? t`An error occurred.`;
const msg = err?.data?.message ?? err.message ?? t`An error occurred.`;
if (isMountedRef.current) {
setError(msg);
isFetchingRef.current = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment