Add 'Redux State' to bug reports
Summary: Now the BugReporter has access to the logs and the redux store, to submit more useful bug reports. This isn't currently used in open source, unless you override / replace this file. Reviewed By: danielbuechele Differential Revision: D13058210 fbshipit-source-id: e52a3cb528693ab171843080685e5342e0b6a393
This commit is contained in:
committed by
Facebook Github Bot
parent
533c1ab59b
commit
9f13e1422b
@@ -7,8 +7,10 @@
|
||||
|
||||
import LogManager from './Logger';
|
||||
|
||||
import type {Store} from '../reducers/index.js';
|
||||
|
||||
export default class BugReporter {
|
||||
constructor(logManager: LogManager) {}
|
||||
constructor(logManager: LogManager, store: Store) {}
|
||||
async report(title: string, body: string): Promise<number> {
|
||||
return Promise.resolve(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user