Skip to content
Snippets Groups Projects
Commit b1be2d85 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(github): pass comment platform-failure up

parent 5695026b
Branches
No related tags found
No related merge requests found
...@@ -1061,6 +1061,9 @@ export async function ensureComment( ...@@ -1061,6 +1061,9 @@ export async function ensureComment(
} }
return true; return true;
} catch (err) /* istanbul ignore next */ { } catch (err) /* istanbul ignore next */ {
if (err.message === 'platform-failure') {
throw err;
}
if ( if (
err.message === 'Unable to create comment because issue is locked. (403)' err.message === 'Unable to create comment because issue is locked. (403)'
) { ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment