From 0ac04f3ffed5d9a9469036951a96f0545d0d8c6f Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Tue, 8 May 2018 18:44:06 +0200
Subject: [PATCH] [fix] Add log message when last UD could not be retrieved

---
 www/js/services/currency-services.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/js/services/currency-services.js b/www/js/services/currency-services.js
index 71698462..ad1d994a 100644
--- a/www/js/services/currency-services.js
+++ b/www/js/services/currency-services.js
@@ -111,6 +111,7 @@ angular.module('cesium.currency.services', ['ngApi', 'cesium.bma.services'])
                 return data.currentUD;
               })
               .catch(function(err) {
+                console.error("[currency] Unable to load last block with UD, with number {0}".format(lastBlockWithUD));
                 data.currentUD = null;
                 throw err;
               });
-- 
GitLab