add grist record to fullinfo
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { AxiosInstance } from "axios";
|
||||
import { logWarning } from "./logger";
|
||||
|
||||
export type ServiceResult<T = unknown> = {
|
||||
result: T;
|
||||
@@ -40,6 +41,7 @@ export abstract class BaseService<T> {
|
||||
}
|
||||
|
||||
getErrorResult(error: string): ServiceResult<string> {
|
||||
logWarning(error);
|
||||
return {
|
||||
result: error,
|
||||
successful: false,
|
||||
|
||||
Reference in New Issue
Block a user