ci: Enable scripts for Travis-CI and in-house Jenkins CI

Change-Id: Ibd4c0313945d57a037e87c54c56e6047c4daed73
Refs: #2477
diff --git a/src/contact-manager.cpp b/src/contact-manager.cpp
index 69c2d4b..89f4ea3 100644
--- a/src/contact-manager.cpp
+++ b/src/contact-manager.cpp
@@ -252,10 +252,10 @@
   catch(Block::Error& e) {
     emit contactInfoFetchFailed(QString::fromStdString(identity.toUri()));
   }
-  catch(Data::Error& e) {
+  catch(EndorseCertificate::Error& e) {
     emit contactInfoFetchFailed(QString::fromStdString(identity.toUri()));
   }
-  catch(EndorseCertificate::Error& e) {
+  catch(Data::Error& e) {
     emit contactInfoFetchFailed(QString::fromStdString(identity.toUri()));
   }
 }