Skip to content

Commit

Permalink
Merge pull request #32 from k2tzumi/version-up-job-broker
Browse files Browse the repository at this point in the history
Version up job broker
  • Loading branch information
k2tzumi authored Nov 8, 2024
2 parents 232fa3f + f60f9fe commit 0202d5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ function WorksClientErrorEventHandle(e: Error, event: AppMentionEvent): void {
function convertWorksClientErrorMessage(e: Error, user: string): string {
switch (true) {
case e instanceof WorksClientError:
return `<@${user}>\nログインができませんでした。${e.message}\n\`${COMMAND} config\` で認証をやり直してください\n出退勤を手動で行う場合は<${worksClient.punchingURLForPc}|こちら>`;
return `<@${user}>\nログインができませんでした。${JSON.stringify(e.message)}\n\`${COMMAND} config\` で認証をやり直してください\n出退勤を手動で行う場合は<${worksClient.punchingURLForPc}|こちら>`;
case e instanceof NetworkAccessError:
return `<@${user}>\nWorksに正しくアクセスできませんでした。暫くしてやり直してみてください\n出退勤を手動で行う場合は<${worksClient.punchingURLForPc}|こちら>`;
default:
Expand Down
4 changes: 2 additions & 2 deletions src/appsscript.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
{
"userSymbol": "OAuth2",
"libraryId": "1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF",
"version": "38"
"version": "43"
},
{
"userSymbol": "JobBroker",
"libraryId": "11cz2CGI2m3W1_JS7PwnxL2_6hkvtj47ynFuxKDDAAUwh3jP04sYnigg8",
"version": "55"
"version": "56"
}
]
},
Expand Down

0 comments on commit 0202d5c

Please sign in to comment.