defmodule ItsfoundBarcode.Utils do @moduledoc """ """ require Logger def test_id do case Confex.fetch_env(:itsfound_barcode, :test_id) do {:ok, bucket} -> bucket :error -> message = "CONFIGURATION ERROR - itsfound_barcode:test_id not set in .ENV settings - set to nil!" Logger.info(message) nil end end end