From: Tim Düsterhus Date: Wed, 15 Jan 2014 14:57:42 +0000 (+0100) Subject: Log errors that occur during 3rd party login X-Git-Tag: 2.0.2~19^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05e8472c51d1806a2db56a86f80089028a031c7c;p=GitHub%2FWoltLab%2FWCF.git Log errors that occur during 3rd party login --- diff --git a/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php b/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php index c8ef2fd139..e0ebaac822 100644 --- a/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php @@ -47,6 +47,8 @@ class FacebookAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); } @@ -65,6 +67,8 @@ class FacebookAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); } diff --git a/wcfsetup/install/files/lib/action/GithubAuthAction.class.php b/wcfsetup/install/files/lib/action/GithubAuthAction.class.php index 6aa056e427..62bcaecf8a 100644 --- a/wcfsetup/install/files/lib/action/GithubAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/GithubAuthAction.class.php @@ -50,6 +50,8 @@ class GithubAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); } @@ -97,6 +99,8 @@ class GithubAuthAction extends AbstractAction { $userData = JSON::decode(StringUtil::trim($reply['body'])); } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); } diff --git a/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php b/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php index 5dd813f88b..9b5370c1bd 100644 --- a/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php @@ -55,6 +55,8 @@ class GoogleAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); } @@ -74,6 +76,8 @@ class GoogleAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); } diff --git a/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php b/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php index 253737532a..48b15db47a 100644 --- a/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php @@ -68,6 +68,8 @@ class TwitterAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); } @@ -167,6 +169,8 @@ class TwitterAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { + // force logging + $e->getExceptionID(); throw new IllegalLinkException(); }