Browse Source

refactor(nocodb): update internalServerError messages

pull/5490/head
Wing-Kam Wong 2 years ago
parent
commit
29d0cf3b5b
  1. 8
      packages/nocodb/src/lib/services/dbData/index.ts

8
packages/nocodb/src/lib/services/dbData/index.ts

@ -131,9 +131,7 @@ export async function getDataList(param: {
count = await baseModel.count(listArgs); count = await baseModel.count(listArgs);
} catch (e) { } catch (e) {
console.log(e); console.log(e);
NcError.internalServerError( NcError.internalServerError('Please check server log for more details');
'Internal Server Error, check server log for more details'
);
} }
return new PagedResponseImpl(data, { return new PagedResponseImpl(data, {
@ -642,9 +640,7 @@ export async function dataReadByViewId(param: {
); );
} catch (e) { } catch (e) {
console.log(e); console.log(e);
NcError.internalServerError( NcError.internalServerError('Please check server log for more details');
'Internal Server Error, check server log for more details'
);
} }
} }

Loading…
Cancel
Save