urgent fix #2

This commit is contained in:
kremsy 2017-05-13 19:32:08 +02:00
parent 7c5f8efdda
commit 563a146492
2 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
/* /*
* Constants * Constants
*/ */
const VERSION = '0.213'; const VERSION = '0.214';
const API_VERSION = '2013-04-16'; const API_VERSION = '2013-04-16';
const MIN_DEDIVERSION = '2017-05-03_21_00'; const MIN_DEDIVERSION = '2017-05-03_21_00';
const SCRIPT_TIMEOUT = 40; const SCRIPT_TIMEOUT = 40;

View File

@ -92,6 +92,7 @@ class FaultException extends Exception {
case 'The playlist file does not exist.': case 'The playlist file does not exist.':
case 'Invalid url or file.': case 'Invalid url or file.':
case 'Invalid url.': case 'Invalid url.':
case 'No map to export in playlist.':
return new FileException($faultString, $faultCode); return new FileException($faultString, $faultCode);
} }
if (preg_match('~^Unknown setting \'.*\'\.$~iu', $faultString)) { if (preg_match('~^Unknown setting \'.*\'\.$~iu', $faultString)) {