diff options
Diffstat (limited to 'src/mod_push.erl')
-rw-r--r-- | src/mod_push.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_push.erl b/src/mod_push.erl index e8e2751b4..a19354f9b 100644 --- a/src/mod_push.erl +++ b/src/mod_push.erl @@ -243,9 +243,9 @@ delete_old_sessions(Days) -> [] -> ?INFO_MSG("Deleted push sessions older than ~B days", [Days]), ok; - [NotOk | _] -> + [{error, Reason} | _] -> ?ERROR_MSG("Error while deleting old push sessions: ~p", [NotOk]), - NotOk + Reason end. %%-------------------------------------------------------------------- |