-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Trying to test out the project but I can't seem to get any errors logged. The error occurs at this line
error-tracker/lib/error_tracker.ex
Line 116 in 12da0c3
| {:ok, stacktrace} = ErrorTracker.Stacktrace.new(stacktrace) |
I put a sample erronous code 1 + "a" into a LiveView and got the following error:
[error] Handler ErrorTracker.Integrations.Phoenix has failed and has been detached. Class=:error
Reason={:badmatch,
{:error,
#Ecto.Changeset<
action: :new,
changes: %{
lines: [
#Ecto.Changeset<
action: :insert,
changes: %{function: "+", module: "erlang"},
errors: [arity: {"is invalid", [type: :integer, validation: :cast]}],
data: #ErrorTracker.Stacktrace.Line<>,
valid?: false
>,
...
I also tried changing a function call to use an invalid name (changing AshPhoenix.LiveView.page_from_params to AshPhoenix.LiveView.page_from_params1, and got a similar error:
[error] Handler ErrorTracker.Integrations.Phoenix has failed and has been detached. Class=:error
Reason={:badmatch,
{:error,
#Ecto.Changeset<
action: :new,
changes: %{
lines: [
#Ecto.Changeset<
action: :insert,
changes: %{
function: "page_from_params1",
module: "AshPhoenix.LiveView",
application: "ash_phoenix"
},
errors: [arity: {"is invalid", [type: :integer, validation: :cast]}],
data: #ErrorTracker.Stacktrace.Line<>,
valid?: false
>,
...
Are these not classes of errors that can be tracked at the moment?
Metadata
Metadata
Assignees
Labels
No labels