thrown exception when using an unsupported format
parent
7591c064f5
commit
4a3c419e74
|
@ -92,8 +92,7 @@ EOT
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
$output->writeln(sprintf('Unsupported format "%s". See help for supported formats.', $format));
|
throw new \RuntimeException(sprintf('Unsupported format "%s". See help for supported formats.', $format));
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue