mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
27524248cc
commit
dca6eaa089
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue