Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #57 from nodes-vapor/feature/fix-breadcrumb-metadata
Browse files Browse the repository at this point in the history
Send breadcrumb metadata in a way that works
  • Loading branch information
siemensikkema authored Jun 1, 2019
2 parents dcc433c + 964107f commit 17949ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v2-spm-deps-{{ checksum "Package.swift" }}
- v3-spm-deps-{{ checksum "Package.swift" }}
- run:
name: Copy Package file
command: cp Package.swift res
Expand All @@ -50,7 +50,7 @@ jobs:
name: Restoring Package file
command: mv res Package.swift
- save_cache:
key: v2-spm-deps-{{ checksum "Package.swift" }}
key: v3-spm-deps-{{ checksum "Package.swift" }}
paths:
- .build
workflows:
Expand Down
3 changes: 1 addition & 2 deletions Sources/Bugsnag/Breadcrumb.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ extension Request {

let date = formatter.string(from: Date())

let metadata = BugsnagMetaData(meta: meta)
let breadcrumb = BugsnagBreadcrumb(
metaData: metadata,
metaData: meta,
name: name,
timestamp: date,
type: type.rawValue
Expand Down
2 changes: 1 addition & 1 deletion Sources/Bugsnag/Bugsnag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct BugsnagException: Encodable {
}

struct BugsnagBreadcrumb: Encodable {
let metaData: BugsnagMetaData
let metaData: [String: String]
let name: String
let timestamp: String
let type: String
Expand Down

0 comments on commit 17949ac

Please sign in to comment.