Merge branch 'master' into httpinsecure

This commit is contained in:
El RIDO
2019-06-20 21:01:00 +02:00
5 changed files with 8 additions and 5 deletions

View File

@@ -1513,6 +1513,9 @@ jQuery.PrivateBin = (function($, RawDeflate) {
} else if (typeof args === 'string') {
// convert string to array if needed
args = [args];
} else if (args instanceof Error) {
// extract message into array if needed
args = [args.message];
}
// pass to custom handler if defined