summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHentioe <me@bluerain.io>2020-11-29 00:38:52 +0800
committerHentioe <me@bluerain.io>2020-11-29 00:38:52 +0800
commit532706ab61a229d613c0b69152917e321be4405e (patch)
tree730518047b5039aad13f88d8066b37c26ce5e784
parentAdd ListByResourceGroupResources API (diff)
Fix error returns
-rw-r--r--lib/azure_ex/token_hosting.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/azure_ex/token_hosting.ex b/lib/azure_ex/token_hosting.ex
index 934aee1..cb1646c 100644
--- a/lib/azure_ex/token_hosting.ex
+++ b/lib/azure_ex/token_hosting.ex
@@ -72,7 +72,7 @@ defmodule AzureEx.TokenHosting do
# TODO: 超时等网络问题自动重试
# TODO: 抽象出错误模型
# TODO: 记录日志
- {:error, to_string(e)}
+ {:error, inspect(e)}
end
end