aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_http_upload.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl
index 8ed47f69d..ed29299f6 100644
--- a/src/mod_http_upload.erl
+++ b/src/mod_http_upload.erl
@@ -183,7 +183,10 @@ mod_opt_type(get_url) ->
end;
mod_opt_type(service_url) ->
fun(undefined) -> undefined;
- (URL) -> misc:try_url(URL)
+ (URL) ->
+ ?WARNING_MSG("option 'service_url' is deprecated, consider unsing "
+ "the 'external_secret' interface instead", []),
+ misc:try_url(URL)
end;
mod_opt_type(custom_headers) ->
fun(Headers) ->