Skip to content

Commit 9416497

Browse files
committed
Add hint about expired session cookie if attachment retrieval fails
1 parent 126dd9f commit 9416497

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gitlabHelper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ export class GitlabHelper {
129129
).data;
130130
return Buffer.from(data, 'binary');
131131
} catch (err) {
132-
console.error(`Could not download attachment #${relurl}: ${err.response.statusText}`);
132+
console.error(`Could not download attachment ${relurl}: ${err.response.statusText}`);
133+
console.error('Is your session cookie still valid?');
133134
return null;
134135
}
135136
}

0 commit comments

Comments
 (0)