check verify

This commit is contained in:
Alexander.Trofimov
2016-11-10 13:53:52 +03:00
parent 77db515b3e
commit ecbe865004

View File

@ -76,6 +76,8 @@ exports.readLicense = function*() {
res.light = (true === oLicense['light'] || 'true' === oLicense['light']); // Someone who likes to put json string instead of bool
res.branding = (true === oLicense['branding'] || 'true' === oLicense['branding']); // Someone who likes to put json string instead of bool
} else {
throw 'verify';
}
} catch (e) {
res.count = 1;