less logging
This commit is contained in:
parent
6e8f1e434f
commit
8cd596f3a4
2 changed files with 1 additions and 4 deletions
|
|
@ -49,8 +49,6 @@ defmodule Aprs.DbTest do
|
|||
# Attempt to store the packet
|
||||
case Packets.store_packet(test_packet) do
|
||||
{:ok, stored_packet} ->
|
||||
IO.puts("Successfully stored packet!")
|
||||
IO.puts("Stored packet ID: #{stored_packet.id}")
|
||||
{:ok, stored_packet}
|
||||
|
||||
{:error, changeset} ->
|
||||
|
|
|
|||
|
|
@ -308,8 +308,7 @@ defmodule Aprs.Is do
|
|||
|
||||
# Store in database through the Packets context
|
||||
case Aprs.Packets.store_packet(attrs) do
|
||||
{:ok, packet} ->
|
||||
Logger.info("Successfully stored packet from #{packet.sender}")
|
||||
# {:ok, packet} ->
|
||||
|
||||
{:error, changeset} ->
|
||||
Logger.error(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue