Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehats committed Dec 18, 2024
1 parent a2ef53f commit 0d60a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/Controllers/ObservationConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public override void Write(Utf8JsonWriter writer, Observation value, JsonSeriali
JsonSerializer.Serialize(writer, observation, options);
break;
default:
throw new NotSupportedException($"Observation type '{value.GetType().Name}' is not supported");
throw new NotSupportedException($"Observation type is not supported");
}
}
}

0 comments on commit 0d60a70

Please sign in to comment.