fix: Truncate git clone errors
This commit is contained in:
parent
3c3333d3df
commit
77400bbbb0
@ -48,9 +48,11 @@ export function ErrorHandler(e) {
|
|||||||
return line;
|
return line;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
truncatedError.message = truncatedArray.join('-');
|
truncatedError.message = truncatedArray.join('-');
|
||||||
}
|
}
|
||||||
|
if (e.message.includes('git clone')) {
|
||||||
|
truncatedError.message = 'git clone failed';
|
||||||
|
}
|
||||||
sentry.captureException(truncatedError);
|
sentry.captureException(truncatedError);
|
||||||
const payload = {
|
const payload = {
|
||||||
status: truncatedError.status || 500,
|
status: truncatedError.status || 500,
|
||||||
|
Loading…
Reference in New Issue
Block a user