diff options
author | friendica <info@friendica.com> | 2014-01-20 01:03:58 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-20 01:03:58 -0800 |
commit | fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d (patch) | |
tree | 65e4b1b76bfe7a1e6b52afa2d819121bd06ce53f | |
parent | d5bf53c54cbe212eac5adeacac57adee5b478279 (diff) | |
download | volse-hubzilla-fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d.tar.gz volse-hubzilla-fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d.tar.bz2 volse-hubzilla-fdfea0a8e932bdb8d243c7b81bcdb9acefb28d4d.zip |
catch auth exceptions
-rw-r--r-- | mod/cloud.php | 9 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mod/cloud.php b/mod/cloud.php index 616d512cc..7413e1824 100644 --- a/mod/cloud.php +++ b/mod/cloud.php @@ -80,9 +80,14 @@ function cloud_init(&$a) { $server->addPlugin($lockPlugin); - if(! $auth->observer) - $auth->Authenticate($server,'Red Matrix'); + if(! $auth->observer) { + try { + $auth->Authenticate($server,'Red Matrix'); + } + catch ( Exception $e) { + } + } // $browser = new DAV\Browser\Plugin(); $browser = new RedBrowser($auth); diff --git a/version.inc b/version.inc index 4d2657c6c..1d3ba2799 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-01-19.562 +2014-01-20.563 |