Add remote: Add more debugging info in the logs

Related to #347
This commit is contained in:
Vishesh Handa
2020-11-13 16:33:51 +01:00
parent 7ffb3f86ac
commit 014d0feb5d

View File

@ -516,8 +516,8 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
privateKey: settings.sshPrivateKey,
password: settings.sshPassword,
);
} on Exception catch (e) {
Log.e(e.toString());
} on Exception catch (e, stacktrace) {
Log.e("Failed to add remote", ex: e, stacktrace: stacktrace);
error = e.toString();
}