File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/dashmate/src/status/scopes Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { DockerStatusEnum } from '../enums/dockerStatus.js';
66import { ServiceStatusEnum } from '../enums/serviceStatus.js' ;
77import determineStatus from '../determineStatus.js' ;
88import ContainerIsNotPresentError from '../../docker/errors/ContainerIsNotPresentError.js' ;
9+ import ServiceIsNotRunningError from '../../docker/errors/ServiceIsNotRunningError.js' ;
910
1011/**
1112 * @returns {getPlatformScopeFactory }
@@ -218,7 +219,8 @@ export default function getPlatformScopeFactory(
218219 // Throw an error if it's not a Drive issue
219220 if ( ! ( e instanceof DockerComposeError
220221 && e . dockerComposeExecutionResult
221- && e . dockerComposeExecutionResult . exitCode !== 0 ) ) {
222+ && e . dockerComposeExecutionResult . exitCode !== 0 )
223+ && ! ( e instanceof ServiceIsNotRunningError ) ) {
222224 throw e ;
223225 }
224226 }
You can’t perform that action at this time.
0 commit comments