Skip to content

Commit

Permalink
Merge pull request #42 from capacitor-community/crashes-error-report
Browse files Browse the repository at this point in the history
crashes ErrorReport props
  • Loading branch information
johnborges authored Oct 9, 2021
2 parents 769db4e + 8c8e69d commit 857c191
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 15 deletions.
7 changes: 7 additions & 0 deletions appcenter-crashes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [0.7.3](https://github.com/capacitor-community/appcenter-sdk-capacitor/compare/@capacitor-community/[email protected]...@capacitor-community/[email protected])

### Chore

* **refactor**
* change `ErrorReport` interface

## [0.7.2](https://github.com/capacitor-community/appcenter-sdk-capacitor/compare/@capacitor-community/[email protected]...@capacitor-community/[email protected])

### Chore
Expand Down
24 changes: 12 additions & 12 deletions appcenter-crashes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,18 +169,18 @@ Track error

#### ErrorReport

| Prop | Type | Description |
| -------------------------- | ----------------------------------------- | -------------------------------------------------------------------- |
| **`id`** | <code>string</code> | UUID for the crash report. |
| **`threadName`** | <code>string</code> | Thread name that triggered the crash |
| **`appErrorTime`** | <code>string \| number</code> | Date and time the error occurred. |
| **`appStartTime`** | <code>string \| number</code> | Date and time the app started. |
| **`exceptionName`** | <code>string</code> | Exception name that triggered the crash. |
| **`exceptionReason`** | <code>string</code> | Exception reason. |
| **`device`** | <code><a href="#device">Device</a></code> | <a href="#device">Device</a> information of the app when it crashed. |
| **`signal`** | <code>string</code> | Signal that caused the crash. |
| **`appProcessIdentifier`** | <code>number</code> | Identifier of the app process that crashed. |
| **`stackTrace`** | <code>string</code> | The stack trace of the crash |
| Prop | Type | Description | Since |
| -------------------------- | ----------------------------------------- | -------------------------------------------------------------------- | ----- |
| **`id`** | <code>string</code> | UUID for the crash report. | |
| **`threadName`** | <code>string</code> | Thread name that triggered the crash | |
| **`appErrorTime`** | <code>string \| number</code> | Date and time the error occurred. | 0.7.3 |
| **`appStartTime`** | <code>string \| number</code> | Date and time the app started. | 0.7.3 |
| **`exceptionName`** | <code>string</code> | Exception name that triggered the crash. | |
| **`exceptionReason`** | <code>string</code> | Exception reason. | |
| **`device`** | <code><a href="#device">Device</a></code> | <a href="#device">Device</a> information of the app when it crashed. | |
| **`signal`** | <code>string</code> | Signal that caused the crash. | |
| **`appProcessIdentifier`** | <code>number</code> | Identifier of the app process that crashed. | |
| **`stackTrace`** | <code>string</code> | The stack trace of the crash | |


#### Device
Expand Down
2 changes: 1 addition & 1 deletion appcenter-crashes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capacitor-community/appcenter-crashes",
"version": "0.7.2",
"version": "0.7.3",
"description": "Capacitor plugin for Microsoft's App Center Crashes",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
Expand Down
6 changes: 4 additions & 2 deletions appcenter-crashes/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,14 @@ export interface ErrorReport {
threadName?: string;
/**
* Date and time the error occurred.
* @since 0.7.3
*/
appErrorTime?: string | number;
appErrorTime: string | number;
/**
* Date and time the app started.
* @since 0.7.3
*/
appStartTime?: string | number;
appStartTime: string | number;
/**
* Exception name that triggered the crash.
*/
Expand Down

0 comments on commit 857c191

Please sign in to comment.