Add a note about logs when reporting a bug

This commit is contained in:
Eugene Burmakin 2024-07-04 23:05:50 +02:00
parent 118c7b5704
commit 6748bcf17c
2 changed files with 6 additions and 14 deletions

View file

@ -8,6 +8,12 @@
<% if params[:action] == 'show' %>
<div class="mt-2">
<%= notification.content %>
<% if notification.error? %>
<div class="mt-2">
Please, when reporting a bug to <a href="https://github.com/Freika/dawarich/issues" class="link hover:no-underline text-blue-600">Github Issues</a>, don't forget to include logs from <code>dawarich_app</code> and <code>dawarich_sidekiq</code> docker containers. Thank you!
</div>
<% end %>
</div>
<% end %>
</div>

14
db/schema.rb generated
View file

@ -14,20 +14,6 @@ ActiveRecord::Schema[7.1].define(version: 2024_07_03_105734) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "active_admin_comments", force: :cascade do |t|
t.string "namespace"
t.text "body"
t.string "resource_type"
t.bigint "resource_id"
t.string "author_type"
t.bigint "author_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["author_type", "author_id"], name: "index_active_admin_comments_on_author"
t.index ["namespace"], name: "index_active_admin_comments_on_namespace"
t.index ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource"
end
create_table "active_storage_attachments", force: :cascade do |t|
t.string "name", null: false
t.string "record_type", null: false