thrown exception when using an unsupported format

main
Benoît Merlet 11 years ago
parent 7591c064f5
commit 4a3c419e74

@ -92,8 +92,7 @@ EOT
break;
default:
$output->writeln(sprintf('Unsupported format "%s". See help for supported formats.', $format));
break;
throw new \RuntimeException(sprintf('Unsupported format "%s". See help for supported formats.', $format));
}
}
}

Loading…
Cancel
Save