Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jamal Dahbur
libcloudstorage
Commits
564b665d
Commit
564b665d
authored
Feb 07, 2018
by
Paweł Wegner
Browse files
GooglePhotos: changed caught exception type.
parent
e2ae3453
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CloudProvider/GooglePhotos.cpp
View file @
564b665d
...
...
@@ -207,7 +207,7 @@ ICloudProvider::GeneralDataRequest::Pointer GooglePhotos::getGeneralDataAsync(
if
(
j
[
"type"
].
asString
()
==
"account"
)
result
.
username_
=
j
[
"value"
].
asString
();
r
->
done
(
result
);
}
catch
(
const
Json
::
E
xception
&
e
)
{
}
catch
(
const
std
::
e
xception
&
e
)
{
r
->
done
(
Error
{
IHttpRequest
::
Failure
,
e
.
what
()});
}
});
...
...
Write
Preview
Supports
Markdown
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