aboutsummaryrefslogtreecommitdiff
path: root/src/gleam_stdlib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gleam_stdlib.erl')
-rw-r--r--src/gleam_stdlib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam_stdlib.erl b/src/gleam_stdlib.erl
index 63067f6..9f3bd02 100644
--- a/src/gleam_stdlib.erl
+++ b/src/gleam_stdlib.erl
@@ -255,7 +255,7 @@ regex_scan(Regex, String) ->
base_decode64(S) ->
try {ok, base64:decode(S)}
- catch error:badarith -> {error, nil}
+ catch error:_ -> {error, nil}
end.
wrap_list(X) when is_list(X) -> X;