do not post to errorApi in case getLastBuild or getFolder API call threw an error

we do not want to show an error popup for the user here but instead move the error to the card

Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
This commit is contained in:
Alexander Kaserbacher
2021-05-15 13:08:31 +02:00
parent d2eed74d35
commit 90db93f223
@@ -48,7 +48,6 @@ export function useBuilds(projectName: string, branch?: string) {
return build || [];
} catch (e) {
errorApi.post(e);
throw e;
}
}, [api, errorApi, projectName, branch]);