File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/private/Files/ObjectStore Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -104,13 +104,14 @@ protected function getConnection() {
104104
105105 if (!$ this ->connection ->doesBucketExist ($ this ->bucket )) {
106106 try {
107+ \OC ::$ server ->getLogger ()->info ('Bucket " ' . $ this ->bucket . '" does not exist - creating it. ' , ['app ' => 'objectstore ' ]);
107108 $ this ->connection ->createBucket (array (
108109 'Bucket ' => $ this ->bucket
109110 ));
110111 $ this ->testTimeout ();
111112 } catch (S3Exception $ e ) {
112- \OCP \Util::logException ('files_external ' , $ e );
113- throw new \Exception ('Creation of bucket failed. ' . $ e ->getMessage ());
113+ \OCP \Util::logException ('objectstore ' , $ e );
114+ throw new \Exception ('Creation of bucket " ' . $ this -> bucket . ' " failed. ' . $ e ->getMessage ());
114115 }
115116 }
116117
You can’t perform that action at this time.
0 commit comments