mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-28 08:26:57 +00:00
5741802c25
- created `getErrorMessage` function which takes in an error string or any type of error object and returns the correct error message - replaced `error.message` with `getErrorMessage` since `error` could be a string in some cases - merged sendNotificationForError.ts with ErrorHandlingUtils.ts - some minor refactoring In part 2, I will make the following changes: - Make `Logger.logError` function take an error message string instead of an error object. This will reduce some redundancy where the `getErrorMessage` function is being called twice (the error object passed by the caller is already an error message). - Update every `TelemetryProcessor.traceFailure` call to make sure we pass in an error message instead of an error object since we stringify the data we send.
75 lines
2.9 KiB
JSON
75 lines
2.9 KiB
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"strictNullChecks": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true
|
|
},
|
|
"files": [
|
|
"./src/AuthType.ts",
|
|
"./src/Bindings/BindingHandlersRegisterer.ts",
|
|
"./src/Bindings/ReactBindingHandler.ts",
|
|
"./src/Common/ArrayHashMap.ts",
|
|
"./src/Common/Constants.ts",
|
|
"./src/Common/DeleteFeedback.ts",
|
|
"./src/Common/HashMap.ts",
|
|
"./src/Common/HeadersUtility.ts",
|
|
"./src/Common/MessageHandler.ts",
|
|
"./src/Common/MongoUtility.ts",
|
|
"./src/Common/ObjectCache.ts",
|
|
"./src/Common/ThemeUtility.ts",
|
|
"./src/Common/UrlUtility.ts",
|
|
"./src/ConfigContext.ts",
|
|
"./src/Contracts/ActionContracts.ts",
|
|
"./src/Contracts/DataModels.ts",
|
|
"./src/Contracts/Diagnostics.ts",
|
|
"./src/Contracts/ExplorerContracts.ts",
|
|
"./src/Contracts/Versions.ts",
|
|
"./src/Controls/Heatmap/Heatmap.ts",
|
|
"./src/Controls/Heatmap/HeatmapDatatypes.ts",
|
|
"./src/Definitions/globals.d.ts",
|
|
"./src/Definitions/html.d.ts",
|
|
"./src/Definitions/jquery-ui.d.ts",
|
|
"./src/Definitions/jquery.d.ts",
|
|
"./src/Definitions/plotly.js-cartesian-dist.d-min.ts",
|
|
"./src/Definitions/svg.d.ts",
|
|
"./src/Explorer/Controls/ErrorDisplayComponent/ErrorDisplayComponent.ts",
|
|
"./src/Explorer/Controls/GitHub/GitHubStyleConstants.ts",
|
|
"./src/Explorer/Controls/SmartUi/InputUtils.ts",
|
|
"./src/Explorer/Notebook/FileSystemUtil.ts",
|
|
"./src/Explorer/Notebook/NTeractUtil.ts",
|
|
"./src/Explorer/Notebook/NotebookComponent/actions.ts",
|
|
"./src/Explorer/Notebook/NotebookComponent/loadTransform.ts",
|
|
"./src/Explorer/Notebook/NotebookComponent/reducers.ts",
|
|
"./src/Explorer/Notebook/NotebookComponent/types.ts",
|
|
"./src/Explorer/Notebook/NotebookContentItem.ts",
|
|
"./src/Explorer/Notebook/NotebookUtil.ts",
|
|
"./src/Explorer/Panes/PaneComponents.ts",
|
|
"./src/Explorer/Panes/Tables/Validators/EntityPropertyNameValidator.ts",
|
|
"./src/Explorer/Panes/Tables/Validators/EntityPropertyValidationCommon.ts",
|
|
"./src/Explorer/Tables/Constants.ts",
|
|
"./src/Explorer/Tables/QueryBuilder/DateTimeUtilities.ts",
|
|
"./src/Explorer/Tabs/TabComponents.ts",
|
|
"./src/GitHub/GitHubConnector.ts",
|
|
"./src/Index.ts",
|
|
"./src/NotebookWorkspaceManager/NotebookWorkspaceResourceProviderMockClients.ts",
|
|
"./src/ReactDevTools.ts",
|
|
"./src/ResourceProvider/IResourceProviderClient.ts",
|
|
"./src/Shared/ExplorerSettings.ts",
|
|
"./src/Shared/StorageUtility.ts",
|
|
"./src/Shared/StringUtility.ts",
|
|
"./src/Shared/appInsights.ts",
|
|
"./src/UserContext.ts",
|
|
"./src/Utils/GitHubUtils.ts",
|
|
"./src/Utils/MessageValidation.ts",
|
|
"./src/Utils/OfferUtils.ts",
|
|
"./src/Utils/StringUtils.ts",
|
|
"./src/Utils/arm/generatedClients/2020-04-01/types.ts",
|
|
"./src/quickstart.ts",
|
|
"./src/setupTests.ts",
|
|
"./src/workers/upload/definitions.ts"
|
|
],
|
|
"include": []
|
|
}
|