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:
@@ -48,7 +48,6 @@ export function useBuilds(projectName: string, branch?: string) {
|
||||
|
||||
return build || [];
|
||||
} catch (e) {
|
||||
errorApi.post(e);
|
||||
throw e;
|
||||
}
|
||||
}, [api, errorApi, projectName, branch]);
|
||||
|
||||
Reference in New Issue
Block a user