Skip to content

Commit

Permalink
chore: update debug to info
Browse files Browse the repository at this point in the history
  • Loading branch information
rac-sri committed Sep 8, 2024
1 parent ad107b0 commit 541318c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ ENV AVAIL_SEED=""
ENV AVAIL_APPID=0
ENV AVAIL_TIMEOUT=100

EXPOSE ${PORT}

# Print environment variables and run the application
CMD echo "ADDR: ${ADDR}" && \
echo "PORT: ${PORT}" && \
Expand Down
2 changes: 1 addition & 1 deletion avail_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (d *AvailDAServer) Start() error {
}

func (d *AvailDAServer) HandleGet(w http.ResponseWriter, r *http.Request) {
d.log.Debug("GET", "url", r.URL)
d.log.Info("GET", "url", r.URL)

route := path.Dir(r.URL.Path)
if route != "/get" {
Expand Down
1 change: 1 addition & 0 deletions service/avail_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func (s *AvailService) Get(ctx context.Context, comm []byte) ([]byte, error) {
}

input, err := scripts.GetBlockExtrinsicData(*s.Specs, avail_blk_ref)

if err != nil {
return []byte{}, fmt.Errorf("failed to get block extrinsic data: %w", err)
}
Expand Down

0 comments on commit 541318c

Please sign in to comment.