Throw exception when trying to serialize unknown types
This commit is contained in:
parent
6798e2f4c1
commit
e7da05e617
@ -140,7 +140,9 @@ class TL
|
||||
|
||||
return $concat;
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new Exception("Couldn't serialize param with type ".$type_);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user