Skip to content

Commit

Permalink
Annict APIのエラー処理を変更 silane#7
Browse files Browse the repository at this point in the history
  • Loading branch information
noriokun4649 committed Feb 18, 2021
1 parent 7d3ad53 commit c8e7dc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public string GetToken(string token)
}
catch (Exception e) when (e is KeyNotFoundException || e is JsonException)
{
throw new AnnictResponseException("Annict APIからのレスポンスを正しく処理できませんでした");
throw new AnnictResponseException("Annict APIからのレスポンスを正しく処理できませんでした",e);
}
}
}
Expand Down

0 comments on commit c8e7dc8

Please sign in to comment.