Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Windows
pEp for Outlook
Commits
ee5dff27
You need to sign in or sign up before continuing.
Commit
ee5dff27
authored
Jul 16, 2021
by
Thomas
Browse files
Error handling
parent
4b7cb9f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
PEPSettings.cs
PEPSettings.cs
+2
-1
ThisAddIn.cs
ThisAddIn.cs
+4
-0
No files found.
PEPSettings.cs
View file @
ee5dff27
...
...
@@ -986,7 +986,8 @@ namespace pEp
// Attempt to get ExtraKeys value
try
{
if
(
pEpKey
?.
GetValue
(
nameof
(
this
.
ExtraKeys
),
null
)
is
string
extraKeysValue
)
if
((
pEpKey
?.
GetValue
(
nameof
(
this
.
ExtraKeys
),
null
)
is
string
extraKeysValue
)
&&
(
string
.
IsNullOrEmpty
(
extraKeysValue
)
==
false
))
{
extraKeys
=
new
List
<
string
>(
extraKeysValue
.
Split
(
','
));
...
...
ThisAddIn.cs
View file @
ee5dff27
...
...
@@ -717,6 +717,10 @@ namespace pEp
{
Log
.
Warning
(
"RegisterMyself: Engine returned exception, "
+
ex
.
ToString
());
}
catch
(
Exception
ex
)
{
Log
.
Error
(
"RegisterMyself: Error occured. "
+
ex
.
ToString
());
}
// Enable Sync if necessary
acctSettings
.
SignalSyncSettingsToEngine
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment