File tree Expand file tree Collapse file tree
web-app/packages/lib/src/modules/project Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -750,23 +750,23 @@ export const useProjectStore = defineStore('projectModule', {
750750 notificationStore . closeNotification ( )
751751 this . cancelDownloadArchive ( )
752752 } catch ( e ) {
753- if ( axios . isAxiosError ( e ) && e . response ?. status === 400 ) {
754- notificationStore . error ( {
755- group : 'download-large-error' ,
756- text : '' ,
757- life : 6000
758- } )
759- } else {
760- notificationStore . error ( {
761- text : errorMessage
762- } )
763- }
753+ notificationStore . error ( { text : errorMessage } )
764754 this . cancelDownloadArchive ( )
765755 }
766756 }
767757 pollDownloadArchive ( )
768758 } catch ( e ) {
769- notificationStore . error ( { text : errorMessage } )
759+ if ( axios . isAxiosError ( e ) && e . response ?. status === 400 ) {
760+ notificationStore . error ( {
761+ group : 'download-large-error' ,
762+ text : '' ,
763+ life : 6000
764+ } )
765+ } else {
766+ notificationStore . error ( {
767+ text : errorMessage
768+ } )
769+ }
770770 this . cancelDownloadArchive ( )
771771 }
772772 } ,
You can’t perform that action at this time.
0 commit comments