File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ const ProjectSaveHOC = (WrappedComponent) => {
7676 await this . saveMeta ( )
7777 } catch ( e ) {
7878 if ( ! this . requestCancelSave ) {
79+ console . log ( "error save:" , e )
7980 errPromise = this . setError ( 'Das hat leider nicht geklappt' )
8081 } else {
8182 errPromise = Promise . reject ( )
@@ -91,6 +92,8 @@ const ProjectSaveHOC = (WrappedComponent) => {
9192 }
9293
9394 saveAssets ( ) {
95+ console . log ( "inside save assets" )
96+
9497 const costumeAssets = serializeCostumes ( this . props . vm . runtime )
9598 const soundAssets = serializeSounds ( this . props . vm . runtime )
9699 return Promise . all (
@@ -107,6 +110,9 @@ const ProjectSaveHOC = (WrappedComponent) => {
107110 filename : asset . fileName ,
108111 } ) ,
109112 } )
113+
114+ console . log ( "save assets res" , res )
115+
110116 if ( ! res . ok && res . status !== 409 ) {
111117 throw new Error ( `uploading an asset failed: ${ asset . filename } ` )
112118 }
You can’t perform that action at this time.
0 commit comments