Skip to content

Commit f41209c

Browse files
committed
chore(core): add logfile tips
1 parent 4e9b398 commit f41209c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/framework-core/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { CloudApi } from './api';
2424
import resolveConfig from './config/resolve-config';
2525
import Context from './context';
2626
import { CloudBaseFrameworkConfig, Config } from './types';
27-
import getLogger from './logger';
27+
import getLogger, { getLogFilePath } from './logger';
2828
import { SamManager } from './sam';
2929
import { genAddonSam } from './sam/addon';
3030
import Hooks from './hooks';
@@ -201,6 +201,7 @@ export class CloudBaseFrameworkCore {
201201
(code as string) in USER_ERRORS_MAP ? 'UserError' : 'SystemError';
202202

203203
logger.error(message);
204+
logger.info('部署日志:', getLogFilePath());
204205
if (!this.isDeploy) {
205206
// 非部署情况不上报
206207
return;

0 commit comments

Comments
 (0)