aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-13 18:22:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-13 18:22:54 -0700
commitdca6eaa089de31669b29b67f9db8e8f0234e34be (patch)
tree9352db5ec6b8ad7682a76080e71d7a35b2cf722a /subsurface-core
parent27524248cc6f88774706e0c64a8b9c8a83c61c40 (diff)
downloadsubsurface-dca6eaa089de31669b29b67f9db8e8f0234e34be.tar.gz
Use more informative error message in application log
While on the desktop we show the error to the user, in Subsurface-mobile it's only appended to the log; so in order to improve debuggability it makes sense to show the full error there. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/git-access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/git-access.c b/subsurface-core/git-access.c
index f18762bfc..c902bf60b 100644
--- a/subsurface-core/git-access.c
+++ b/subsurface-core/git-access.c
@@ -667,7 +667,7 @@ static git_repository *create_local_repo(const char *localdir, const char *remot
* to our cloud storage and the branch doesn't exist.
* So we need to create the branch and push it to the remote */
cloned_repo = create_and_push_remote(localdir, remote, branch);
-#if !defined(DEBUG)
+#if !defined(DEBUG) && !defined(SUBSURFACE_MOBILE)
} else if (is_subsurface_cloud) {
report_error(translate("gettextFromC", "Error connecting to Subsurface cloud storage"));
#endif