File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
services/static-webserver/client/source/class/osparc/desktop Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -727,13 +727,14 @@ qx.Class.define("osparc.desktop.StudyEditor", {
727727 osparc . data . Resources . fetch ( "runPipeline" , "startPipeline" , params )
728728 . then ( resp => this . __onPipelineSubmitted ( resp ) )
729729 . catch ( err => {
730- let msg = err . message ;
731730 const errStatus = err . status ;
732731 if ( errStatus == "409" ) {
733- this . getStudyLogger ( ) . error ( null , "Pipeline is already running" ) ;
732+ osparc . FlashMessenger . logError ( err ) ;
733+ const msg = osparc . FlashMessenger . extractMessage ( err ) ;
734+ this . getStudyLogger ( ) . error ( null , msg ) ;
734735 } else if ( errStatus == "422" ) {
735736 this . getStudyLogger ( ) . info ( null , "The pipeline is up-to-date" ) ;
736- msg = this . tr ( "The pipeline is up-to-date. Do you want to re-run it?" ) ;
737+ const msg = this . tr ( "The pipeline is up-to-date. Do you want to re-run it?" ) ;
737738 const win = new osparc . ui . window . Confirmation ( msg ) . set ( {
738739 caption : this . tr ( "Re-run" ) ,
739740 confirmText : this . tr ( "Run" ) ,
You can’t perform that action at this time.
0 commit comments