mirror of
https://github.com/actions/stale.git
synced 2025-12-11 04:32:53 +00:00
fix licenses
This commit is contained in:
@@ -557,7 +557,13 @@ export class IssuesProcessor {
|
||||
(issue: Readonly<OctokitIssue>): Issue => new Issue(this.options, issue)
|
||||
);
|
||||
} catch (error) {
|
||||
throw Error(`Get issues for repo error: ${error.message}`);
|
||||
const rethrow = Error(
|
||||
`Getting issues was blocked by the error: ${error.message}`
|
||||
);
|
||||
rethrow.stack = `${error.stack.split('\n').slice(0, 2).join('\n')}\n${
|
||||
error.stack
|
||||
}`;
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user