|
|
@ -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' |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|