From 532706ab61a229d613c0b69152917e321be4405e Mon Sep 17 00:00:00 2001 From: Hentioe Date: Sun, 29 Nov 2020 00:38:52 +0800 Subject: Fix error returns --- lib/azure_ex/token_hosting.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3