mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 00:31:27 +03:00
Fix
This commit is contained in:
@@ -49,7 +49,7 @@ log.report = error => {
|
||||
'<< Issue report >>',
|
||||
'Please include this information if you ask for help about the following error!',
|
||||
`Support server: ${terminalLink('go.eartharoid.me/discord', 'https://go.eartharoid.me/discord')}`,
|
||||
`Node.JS version: ${process.versions.node.split('.')}`,
|
||||
`Node.JS version: ${process.versions.node}`,
|
||||
`Bot version: ${version}`,
|
||||
`Platform: ${process.platform}`
|
||||
];
|
||||
|
@@ -21,7 +21,7 @@ module.exports = (log) => {
|
||||
|
||||
if (!supported.includes(type)) {
|
||||
log.report('Invalid database type');
|
||||
throw new Error('DB_TYPE is not valid type');
|
||||
throw new Error(`DB_TYPE (${type}) is not a valid type`);
|
||||
}
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user