diff --git a/html/compute.php b/html/compute.php
index a004865d8..0c0b4a6b8 100644
--- a/html/compute.php
+++ b/html/compute.php
@@ -53,7 +53,7 @@ if ($http->post("action","string","xx")=="qr_refresh") {
echo $authenticator->compute_code($secret);
} catch (Exception $exc) {
- record_log("refresh BarCode invalide");
+ record_log($exc);
}
return;