modified api
This commit is contained in:
parent
d66dccd637
commit
9c3ac93fe2
@ -144,5 +144,14 @@ export class RegionService {
|
||||
return { error: 'An unknown error occurred' };
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if (connection) {
|
||||
try {
|
||||
await connection.close();
|
||||
} catch (closeErr) {
|
||||
console.error('Failed to close connection:', closeErr);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user